﻿using SIG.DAL.Dapper.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIG.DAL.Dapper.Model
{
    /// <summary>
    /// A class which represents the Roles table.
    /// </summary>
    [Table("Roles")]
    public partial class Role
    {
        [Key]
        public virtual int Id { get; set; }
        public virtual string RoleName { get; set; }
        public virtual string Description { get; set; }
        public virtual bool IsSys { get; set; }
        public virtual bool? Active { get; set; }
        public virtual IEnumerable<RoleMenu> RoleMenus { get; set; }
        public virtual IEnumerable<UserRole> UserRoles { get; set; }
    }
}
